//
//  Test.c
//  博客代码2
//
//  Created by 马鹏朔 on 2022/12/11.
//
#include"Queue.h"
void test()
{
    Queue q;
    QueuePush(&q,1);
    QueuePush(&q,2);
    QueuePush(&q,3);
    QueuePush(&q,4);
    QueuePush(&q,5);
    printf("%d \n",QueueSize(&q));
    printf("%d ",QueueFront(&q));
    QueuePop(&q);
    printf("%d ",QueueFront(&q));
    QueuePop(&q);
    printf("%d ",QueueFront(&q));
    printf("%d ",QueueBack(&q));
    
    QueueDestroy(&q);
    
}
int main()
{
    test();
    return 0;
}
